import axios from "@/utils/my_axios";

const userListApi = {
    userList: "/boss/member/listByPage",
    userUpdateStatus: "/boss/member/updateStatus",
    userDelete: "/boss/member/del",
    userInfo: "/boss/member/info",
    userProveInfo: "/boss/member/proveInfo",
};

export function getUserList(parameter){
    return axios({
        url: userListApi.userList,
        method: "get",
        params: parameter,
    });
}

export function userUpdateStatus(parameter){
    return axios({
        url: userListApi.userUpdateStatus,
        method: "get",
        params: parameter,
    });
}

export function userDelete(parameter){
    return axios({
        url: userListApi.userDelete,
        method: "get",
        params: parameter,
    });
}

export function userInfo(parameter){
    return axios({
        url: userListApi.userInfo,
        method: "get",
        params: parameter,
    });
}

export function userProveInfo(parameter){
    return axios({
        url: userListApi.userProveInfo,
        method: "get",
        params: parameter,
    });
}